package com.example.kotlinlearn.kotlinLearn.review

open class Person(val age1:Int, val name1:String) {
    val age = 0
    val high = 170
    val weight = 60
    var name = "noName"

    fun eat() {
        println("${name}eat food")
    }

    fun run(){
        println("消耗能量")
    }

    fun tureName(){
        println("the ture name is ${name1}")
    }
}